<!doctype html>
<html>
<head>
    <#include "include/common.header.ftl" >
    <script type="text/javascript" src="/js/withdraw.js"></script>
</head>
<body style="margin: 1px">
<table id="dg" title="用户反馈" class="easyui-datagrid"
       fitColumns="true" pagination="true" rownumbers="true"
       url="/demo01/withPage?state=31&limit=10&sort=time" fit="true" toolbar="#tb">
    <thead>
    <tr>
        <th field="cb" checkbox="true" align="center"></th>
        <th field="type" width="50" align="center">提现类型</th>
        <th field="state" width="50" align="center" >提现状态</th>
        <th field="count" width="50" align="center" >提现金额</th>
        <th field="aunt" width="50" align="center">阿姨</th>
        <th field="number" width="50" align="center">卡号/支付宝账号</th>
        
    </tr>
    </thead>
</table>
<div id="tb">
<div>
       <!-- <a href="javascript:openSaleChanceAddDialog()" class="easyui-linkbutton" iconCls="icon-add" plain="true">创建</a>-->
        <a href="javascript:openSaleChanceModifyDialog()" class="easyui-linkbutton" iconCls="icon-edit" plain="true">详情/修改</a>
        <a href="javascript:deleteSaleChance()" class="easyui-linkbutton" iconCls="icon-remove" plain="true">删除</a>
                <a href="javascript:openWithdraw()" class="easyui-linkbutton" iconCls="icon-edit" plain="true">转账</a>
        
    </div>
    <div>
        &nbsp;阿姨：&nbsp;<input type="text" id="s_phoneNumber" size="20" onkeydown="if(event.keyCode==13) searchSaleChance()"/>
        &nbsp;卡号/支付宝账号：&nbsp;<input type="text" id="s_orderNumber" size="20" onkeydown="if(event.keyCode==13) searchSaleChance()"/>
    	&nbsp;提现金额：&nbsp;<input type="text" id="s_servicePersonal" size="20" onkeydown="if(event.keyCode==13) searchSaleChance()"/>
    	&nbsp;提现状态：&nbsp;<select class="easyui-combobox" id="s_orderState"  >
        <option value="">请选择...</option>
        <option value="未转账">未转账</option>
        <option value="已转账">已转账</option>
    </select>
    </select>
        <a href="javascript:searchSaleChance()" class="easyui-linkbutton" iconCls="icon-search" plain="true">搜索</a>
    </div>
</div>
<div id="dlg" class="easyui-dialog" style="width:700px;height:450px;padding: 10px 20px"
     closed="true" buttons="#dlg-buttons">
        <input type="text" id="tag" name="tag" value="0"  hidden="true"/>

    <form id="fm" method="post">
        <table cellspacing="8px">
            <tr>
                <td>提现类型：</td>
                <td><input type="text"  id="type" name="type" class="easyui-validatebox" required="true"/></td>
                <td>提现时间：</td>
                <td><input type="text"   class="only"  id="time" name="time" class="easyui-datetimebox" required="true"/></td>
            </tr>
            <tr>
                <td>提现金额：</td>
                <td><input type="text"   class="only"  id="count" name="count" class="easyui-validatebox" required="true" /></td>
                <td>阿姨：</td>
                <td><input type="text" id="aunt" name="aunt" class="easyui-validatebox "  required="true" /></td>
            </tr>
            <tr>
                <td>卡号/支付宝账号：</td>
                <td><input type="text" id="number" name="number" class="easyui-validatebox" required="true" /></td>
            	<td>ID：</td>
                <td><input type="text"  class="only"  id="id" name="id" class="easyui-validatebox" required="true" /></td>
           
            </tr>
            <tr>
                <td>转账状态：</td>
                <td><select class="easyui-combobox" id="state" style="width: 175px"  name="state">
			        <option value="未转账">未转账</option>
			        <option value="已转账">已转账</option>
   			 	</select>
   			 	</td>
           		<td>阿姨名字：</td>
                <td><input type="text"  class="only" id="auntName" name="auntName" class="easyui-validatebox" required="true" /></td>
           
   			 	</td>
            </tr>
           
        </table>
    </form>
</div>

<div id="dlg-buttons">
    <a href="javascript:saveSaleChance()" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
    <a href="javascript:closeSaleChanceDialog()" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
</div>
</body>
</html>